package cn.zust.itcost.entity.graph.node;

import org.springframework.data.neo4j.core.schema.Id;
import org.springframework.data.neo4j.core.schema.Node;
import org.springframework.data.neo4j.core.schema.Property;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Node("User")
public class UserNode {
    @Id
    private Long userId;
    
    @Property("username")
    private String username;
    
    @Property("email")
    private String email;
    
    @Property("phone")
    private String phone;
}
